package com.whfc.mach.param;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @author sun
 * 纬度分析参数
 */
@Setter
@Getter
@ToString
public class MachMonthDataParam implements Serializable {
    private Map<Integer, String> machTypeMap;
    private Map<Integer, String> corpMap;
    @NotEmpty
    private List<Integer> columnIds;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date startDate;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endDate;
    private List<Integer> deptIds;
    private Integer deptId;
}
